home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
051-075
/
disk_054
/
miditools
/
midi.h
< prev
next >
Wrap
Text File
|
1992-05-06
|
670b
|
32 lines
#define ACTIVE_SENSING 0xfe
#define EOX 0xf7
#define MIDI_DATA 0x00
#define NOTE_OFF 0x80
#define NOTE_ON 0x90
#define KEY_PRESSURE 0xa0
#define PARAMETER 0xb0
#define PROGRAM 0xc0
#define CHANNEL_PRESSURE 0xd0
#define PITCHWHEEL 0xe0
#define SYSTEM_EXCLUSIVE 0xf0
#define NON_MIDI_EVENT 0x1f0
#define TIMETAG 0xf4
#define GETMIDI(x) (x = getmidi())
#define PUTMIDI(x) (putmidi( (int)(x) ))
#define MIDIREQ(cmd) do { PUTMIDI(*cmd); } while (*cmd++ != EOX);
#define STORE 24
#define FUNCTION 25
#define EDIT 26
#define INTERNAL 27
#define BANKA 28
#define BANKB 29
#define BANKC 30
#define BANKD 31
#define PB_MODE 32
#define KEY_SHIFT 33
#define NO 34
#define YES 35